package com.base.jvm;

import java.util.concurrent.TimeUnit;

/**
 * 测试JVM优化
 *
 * @author: May
 * @date 2019/8/22
 */
public class TestJVM {
    public static void main(String[] args) throws InterruptedException {
        String str = System.getProperty("str");
        if (str == null) {
            System.out.println("null");
        } else {
            System.out.println(str);
        }
        while (true) {
            TimeUnit.SECONDS.sleep(5);
            System.out.println("111111");
        }
    }
}
